<?php
/*
 * $this->widget('application.components.popUpMessageWidget'); 
 */

class popUpMessageWidget extends CWidget
{
    public function run()
    {
    	if(!isset(Yii::app()->session['popup'])){
    		Yii::app()->session['popup'] = true;
        	$this->render('popupWidget');
    	}
    }

}
